#!/usr/bin/env python
# -*- coding: utf-8 -*-

from webapp import create_app

# 路由


app = create_app('default')

from webapp.route import *
from webapp.fastapi.entry import *

register(["test", "vip", "user", "store","cpu","order"])


def run_server():
    app.run(host="127.0.0.1", port=9999, threaded=True)


if __name__ == "__main__":
    run_server()
